class HealthRecordCenter < Location
  
  def process(message)
    case message
    when NewPatientRecordUpdate
      send_to_clinic(message)
    when LabResults
      # absorbs lab results
    else
      super
    end
  end    
  
  def send_to_clinic(message)
    MedSim.send('clinic',NewPatientRecordUpdateReply.new(message))
  end
  
end